home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Toolbox / WDEFColorSample / WDEFColorSample READ ME next >
Encoding:
Text File  |  1994-12-13  |  1.2 KB  |  27 lines  |  [TEXT/ttxt]

  1. WDEFColorSample
  2. Window colorization c code by Guillermo A. Ortiz
  3. C version of the MakeRatioRGB routine by Nitin Ganatra
  4.  
  5. Macintosh Developer Technical Support
  6. ALink DEVSUPPORT
  7.  
  8. This sample was written as a response to developers who found the system 7 WDEF
  9. too obscure an example when trying to create their own WDEFs. The part
  10. that seems to be more difficult is the colorization part.
  11.  
  12. This sample ONLY shows how to obtain the colors that embellish the new windows, although I tried to make it resemble the WDEF organization it is not to a sample on how to
  13. write one. All the code pertinent to the color is contained in the file
  14. WDEFColorSampleWDEF.c, this is all you want to look at from the point of view of this
  15. sample, the other stuff comes from the Traffic Lights sample and it is better
  16. commented there.
  17.  
  18. Please read the accompanying technical note #298 "Color, Windows and 7.0" for more
  19. details.
  20.  
  21. NOTE: Clicking on the window shows the grow and goaway boxes in the highlited state.
  22.  
  23.  
  24. CHANGES SINCE THE LAST TIME:
  25. ----------------------------
  26. • Ported the MakeRatioRGB routine to C, to make porting to PowerPC easier.
  27. • Updated the sample to be Universal Interface-friendly.